package com.byku.entity;

import java.util.List;
/*
 * 角色类
 */

public class Role {
	private long id;
	private String name;
	private List<Right> right;
	private List<User> user;
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<Right> getRight() {
		return right;
	}
	public void setRight(List<Right> right) {
		this.right = right;
	}
	public List<User> getUser() {
		return user;
	}
	public void setUser(List<User> user) {
		this.user = user;
	}
	

}
